-
Home
-
UpsellWP – WooCommerce Upsell and Related Products Offers
-
2.2.1
-
Code
-
Classes
- FBT
| Total Complexity |
153 |
| Dependencies |
9 |
| Dependents |
1 |
| Total lines |
661 |
| Lines of code |
450 |
| Logical lines of code |
251 |
| Comment lines |
140 |
| Methods |
20 |
| Properties |
1 |
Methods 20
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| addProductsToCart() |
D |
31 |
41 |
93 |
| showProducts() |
C |
36 |
25 |
71 |
| getMatchedCampaign() |
A |
47 |
11 |
33 |
| init() |
A |
47 |
10 |
31 |
| getProductsFromOrders() |
A |
46 |
9 |
36 |
| mayLoadDeprecatedTab() |
A |
46 |
8 |
37 |
| getProductIdsToDisplay() |
A |
52 |
8 |
23 |
| saveProductMeta() |
A |
53 |
8 |
23 |
| getIds() |
A |
55 |
8 |
20 |
| getDiscount() |
S |
60 |
6 |
13 |
| addProductDataTab() |
S |
59 |
4 |
14 |
| showProductDataPanel() |
S |
61 |
3 |
12 |
| getProductsDisplayLocation() |
S |
67 |
3 |
7 |
| isUseCustomProducts() |
S |
68 |
2 |
7 |
| campaignEditView() |
S |
67 |
2 |
8 |
| loadVariantSelectModal() |
S |
77 |
1 |
3 |
| loadVariantSelect() |
S |
73 |
1 |
4 |
| loadSavingsSection() |
S |
77 |
1 |
3 |
| getProductIdsFromOrders() |
S |
79 |
1 |
3 |
| getDisplayLocations() |
S |
64 |
1 |
9 |